package it.polimi.swKnights.SWIMv2.ejb.friendsEngine;

import it.polimi.swKnights.SWIMv2.ejb.exceptions.InvalidLoginPrivilegesException;
import it.polimi.swKnights.SWIMv2.ejb.exceptions.LoginFailException;

import java.util.List;
import java.util.Map;

import javax.ejb.Remote;

@Remote
public interface FriendshipManagerRemote
{

	List<Map<String, String>> getFriendsList(String userName, String password)
			throws LoginFailException, InvalidLoginPrivilegesException;

	List<Map<String, String>> getSuggestedFriends(String userName, String password)
			throws LoginFailException, InvalidLoginPrivilegesException;

	boolean isFriend(String userName, String password, String friend)
			throws LoginFailException, InvalidLoginPrivilegesException;

}
